package com.tarena.lbs.business.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

@Service
public interface StoreService {
    void saveStore(StoreParam param) throws BusinessException;

    PageResult<StoreVO> storeList(StoreQuery storeQuery) throws BusinessException;

    PageResult<StoreVO> getStoreByCity(AreaStoreQuery query) throws BusinessException;
}

